<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><ui:insert name="title">Default Title</ui:insert></title>
        <h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>

    <h:body>
        <p:growl id="information" life="3000" globalOnly="false" />
        <h:form>
            <p:menubar autoDisplay="false">
                <p:submenu label="Operations">
                    <p:menuitem value="Mouvements" action="/data/mouvement/List" ajax="false"></p:menuitem>
                    <p:menuitem value="Mvt périodique" action="/data/mouvementPeriodique/List" ajax="false"></p:menuitem>
                </p:submenu>
                <p:menuitem value="Budget" action="/data/budget/List" ajax="false"></p:menuitem>
                <p:menuitem value="Statistiques" url="#"></p:menuitem>
                <p:submenu label="Configuration">
                    <p:menuitem value="Banques" action="/data/banque/List" ajax="false"></p:menuitem>
                    <p:menuitem value="Comptes" action="/data/compteBanque/List" ajax="false"></p:menuitem>
                    <p:menuitem value="Catégories" action="/data/categorieMouvement/List" ajax="false"></p:menuitem>
                    <p:menuitem value="Moyens" action="/data/moyenFinancier/List" ajax="false"></p:menuitem>
                </p:submenu>
                <p:submenu label="Administration">
                    <p:menuitem value="Periode" action="/data/periode/List" ajax="false"></p:menuitem>
                </p:submenu>
            </p:menubar>
        </h:form>

        <h1>
            <ui:insert name="title">Default Title</ui:insert>
        </h1>

        <p>
            <ui:insert name="body">Default Body</ui:insert>
        </p>

    </h:body>

</html>
